#ifndef SUSHI_MASTER_LIMITER_TEST_DATA_H
#define SUSHI_MASTER_LIMITER_TEST_DATA_H
//This data was generated from the python script used to design the algorithm
constexpr int UPSAMPLING_TEST_DATA_SIZE = 16;
constexpr float UPSAMPLING_TEST_DATA[UPSAMPLING_TEST_DATA_SIZE] = {
    1.6031981706619263, 0.9191625118255615, 0.9441951513290405, 0.497483491897583,
    0.4227568805217743, 0.02524338662624359, -0.07185277342796326, -0.4660314917564392,
    -0.5481231212615967, -0.9815558791160583, -0.9807688593864441, -1.6091821193695068,
    0.47370654344558716, 1.5271077156066895, 0.9095961451530457, 0.8903854489326477
};

constexpr int UPSAMPLING_TEST_DATA4X_SIZE = 64;
constexpr float UPSAMPLING_TEST_DATA4X[UPSAMPLING_TEST_DATA4X_SIZE] = {
    -0.1060667410492897, -0.14819470047950745, -0.133992999792099, -2.7093278731626924e-08,
    0.2476349174976349, 0.6839537024497986, 1.1730483770370483, 1.5605404376983643,
    1.6749145984649658, 1.6034364700317383, 1.406592845916748, 1.2031517028808594,
    1.0434499979019165, 0.9894606471061707, 0.987175464630127, 0.9898470044136047,
    0.9868156909942627, 0.8588047623634338, 0.7203959226608276, 0.6050930023193359,
    0.5639124512672424, 0.5093562602996826, 0.4787982106208801, 0.4447537660598755,
    0.4211186170578003, 0.30675584077835083, 0.18246017396450043, 0.07299449294805527,
    0.04158003628253937, -0.007036561146378517, -0.044038183987140656, -0.09305360913276672,
    -0.12333919107913971, -0.23097600042819977, -0.3543069362640381, -0.46912553906440735,
    -0.494147926568985, -0.5294740200042725, -0.5621595978736877, -0.6184467673301697,
    -0.6574973464012146, -0.7684823870658875, -0.9030699729919434, -1.030062198638916,
    -1.0376704931259155, -1.0410641431808472, -1.050227165222168, -1.1072548627853394,
    -1.2956103086471558, -1.498157262802124, -1.6737871170043945, -1.6901203393936157,
    -1.5762592554092407, -1.0865287780761719, -0.43945568799972534, 0.21639184653759003,
    0.6947306394577026, 1.1521437168121338, 1.490471601486206, 1.6840757131576538,
    1.60256826877594, 1.5049097537994385, 1.323349952697754, 1.1478605270385742
};

constexpr int LIMITER_INPUT_DATA_SIZE = 256;
constexpr float LIMITER_INPUT_DATA[LIMITER_INPUT_DATA_SIZE] = {
    0.00001, 0.15613864362239838, 0.3103301227092743, 0.4624886214733124,
    0.6125308871269226, 0.7603762149810791, 0.9059464931488037, 1.0491665601730347,
    1.189963698387146, 1.3282678127288818, 1.4640123844146729, 1.5971318483352661,
    1.727565884590149, 1.8552534580230713, 1.980139970779419, 2.1021716594696045,
    2.2212975025177, 2.3374688625335693, 2.450641393661499, 2.5607717037200928,
    2.667820453643799, 2.7717506885528564, 2.8725273609161377, 2.9701199531555176,
    3.064497947692871, 3.155634641647339, 3.2435085773468018, 3.3280959129333496,
    3.4093799591064453, 3.4873440265655518, 3.56197452545166, 3.633260488510132,
    3.7011938095092773, 3.7657692432403564, 3.826982021331787, 3.8848307132720947,
    3.9393177032470703, 3.990446090698242, 4.038221836090088, 4.082652568817139,
    4.123749732971191, 4.161525249481201, 4.195992469787598, 4.227170944213867,
    4.255077838897705, 4.279734134674072, 4.3011627197265625, 4.319388389587402,
    4.334438323974609, 4.346340656280518, 4.35512638092041, 4.36082649230957,
    4.363475322723389, 4.363108158111572, 4.359763145446777, 4.3534770011901855,
    4.344291687011719, 4.332247734069824, 4.317388534545898, 4.2997589111328125,
    4.2794036865234375, 4.256371021270752, 4.230708122253418, 4.202465534210205,
    4.171691417694092, 4.1384406089782715, 4.102763652801514, 4.064713954925537,
    4.024346351623535, 3.981717109680176, 3.9368817806243896, 3.8898963928222656,
    3.840820550918579, 3.789710521697998, 3.736626386642456, 3.6816279888153076,
    3.62477445602417, 3.5661263465881348, 3.505744695663452, 3.443692207336426,
    3.38002872467041, 3.31481671333313, 3.248119592666626, 3.179997444152832,
    3.110513687133789, 3.0397326946258545, 2.967714786529541, 2.894524097442627,
    2.8202216625213623, 2.744873285293579, 2.6685378551483154, 2.591279983520508,
    2.513162136077881, 2.4342451095581055, 2.3545901775360107, 2.274259567260742,
    2.19331431388855, 2.111816883087158, 2.02982497215271, 1.9473986625671387,
    1.8645967245101929, 1.7814819812774658, 1.6981080770492554, 1.6145360469818115,
    1.5308219194412231, 1.4470198154449463, 1.3631895780563354, 1.2793846130371094,
    1.195658564567566, 1.1120662689208984, 1.028661847114563, 0.9454929232597351,
    0.8626155257225037, 0.7800771594047546, 0.6979296803474426, 0.6162210702896118,
    0.5349977612495422, 0.4543096125125885, 0.37420040369033813, 0.2947145104408264,
    0.21589824557304382, 0.13779540359973907, 0.060443658381700516, -0.016111472621560097,
    -0.09183213859796524, -0.16668003797531128, -0.24061359465122223, -0.31360021233558655,
    -0.3856026232242584, -0.4565853476524353, -0.5265141129493713, -0.5953575372695923,
    -0.6630842685699463, -0.7296633124351501, -0.7950667142868042, -0.8592634797096252,
    -0.9222308397293091, -0.9839386343955994, -1.04436194896698, -1.1034841537475586,
    -1.1612735986709595, -1.2177144289016724, -1.2727832794189453, -1.3264650106430054,
    -1.3787368535995483, -1.429585337638855, -1.4789925813674927, -1.5269465446472168,
    -1.5734301805496216, -1.618432879447937, -1.6619406938552856, -1.7039470672607422,
    -1.7444413900375366, -1.7834134101867676, -1.8208578824996948, -1.8567681312561035,
    -1.8911381959915161, -1.9239658117294312, -1.9552459716796875, -1.984978437423706,
    -2.013160228729248, -2.039792060852051, -2.0648751258850098, -2.0884110927581787,
    -2.1104023456573486, -2.130852460861206, -2.1497645378112793, -2.167147636413574,
    -2.1830053329467773, -2.1973447799682617, -2.210175037384033, -2.2215051651000977,
    -2.2313437461853027, -2.239701271057129, -2.2465901374816895, -2.2520217895507812,
    -2.2560083866119385, -2.2585644721984863, -2.2597031593322754, -2.2594399452209473,
    -2.2577905654907227, -2.254770517349243, -2.250397205352783, -2.2446885108947754,
    -2.237661123275757, -2.2293355464935303, -2.21972918510437, -2.2088630199432373,
    -2.1967573165893555, -2.18343186378479, -2.1689095497131348, -2.1532108783721924,
    -2.1363580226898193, -2.1183743476867676, -2.099282741546631, -2.079106569290161,
    -2.0578689575195312, -2.035595417022705, -2.012308359146118, -1.9880355596542358,
    -1.9627999067306519, -1.936627984046936, -1.909544587135315, -1.8815752267837524,
    -1.8527469635009766, -1.823087215423584, -1.792620062828064, -1.7613744735717773,
    -1.7293751239776611, -1.6966488361358643, -1.6632252931594849, -1.6291309595108032,
    -1.5943913459777832, -1.5590351819992065, -1.523087739944458, -1.4865803718566895,
    -1.4495381116867065, -1.4119869470596313, -1.373957872390747, -1.3354754447937012,
    -1.296567440032959, -1.2572606801986694, -1.2175852060317993, -1.177565097808838,
    -1.1372281312942505, -1.0966001749038696, -1.0557104349136353, -1.0145822763442993,
    -0.9732460975646973, -0.9317242503166199, -0.8900450468063354, -0.8482334613800049,
    -0.80631422996521, -0.7643154263496399, -0.7222611904144287, -0.6801739931106567,
    -0.6380810737609863, -0.5960057377815247, -0.5539714694023132, -0.5120035409927368,
    -0.47012558579444885, -0.42835816740989685, -0.3867282271385193, -0.34525439143180847,
    -0.3039618730545044, -0.2628702223300934, -0.222000852227211, -0.18137653172016144,
    -0.14101718366146088, -0.10094314068555832, -0.06117207929491997, -0.021730655804276466,
    0.01736903376877308, 0.0561058335006237, 0.0944613590836525, 0.13241761922836304
};

constexpr int LIMITER_OUTPUT_DATA_SIZE = 256;
constexpr float LIMITER_OUTPUT_DATA[LIMITER_OUTPUT_DATA_SIZE] = {
    0.00001, 0.15613864362239838, 0.3103301227092743, 0.4624886214733124,
    0.6125308871269226, 0.7603762149810791, 0.9059464931488037, 1.0491337776184082,
    1.1897999048233032, 1.3278663158416748, 1.4632607698440552, 1.595912218093872,
    1.7257542610168457, 1.8527257442474365, 1.9767727851867676, 2.0978429317474365,
    2.2158873081207275, 2.330859661102295, 2.442718982696533, 2.551424741744995,
    2.6569416522979736, 2.7592363357543945, 2.858278274536133, 2.954041004180908,
    3.046499013900757, 3.135629892349243, 3.2214174270629883, 3.303842782974243,
    3.3828940391540527, 3.4585602283477783, 3.530832529067993, 3.599705934524536,
    3.6651771068573, 3.7272467613220215, 3.7859153747558594, 3.8411872386932373,
    3.8930699825286865, 3.9415721893310547, 3.986705780029297, 4.0284833908081055,
    4.066921710968018, 4.102038860321045, 4.133853435516357, 4.162389278411865,
    4.1876702308654785, 4.209721088409424, 4.228570938110352, 4.24424934387207,
    4.25678825378418, 4.266220569610596, 4.272582530975342, 4.275909423828125,
    4.276240348815918, 4.273614883422852, 4.268075466156006, 4.259662628173828,
    4.248422145843506, 4.234397888183594, 4.217637062072754, 4.198187351226807,
    4.176097393035889, 4.1514177322387695, 4.124198913574219, 4.094493865966797,
    4.06235408782959, 4.027836322784424, 3.9909939765930176, 3.9518823623657227,
    3.9105584621429443, 3.8670806884765625, 3.8215062618255615, 3.773892879486084,
    3.724301815032959, 3.67279052734375, 3.6194207668304443, 3.564253091812134,
    3.507347822189331, 3.448765993118286, 3.3885700702667236, 3.326822519302368,
    3.2635838985443115, 3.1989171504974365, 3.132885694503784, 3.065549373626709,
    2.996971845626831, 2.9272170066833496, 2.856344699859619, 2.7844185829162598,
    2.7114992141723633, 2.6376514434814453, 2.5629334449768066, 2.487408399581909,
    2.411137819290161, 2.334181308746338, 2.256598711013794, 2.1784508228302,
    2.099796772003174, 2.020697593688965, 1.941208839416504, 1.861388921737671,
    1.781294584274292, 1.7009862661361694, 1.6205155849456787, 1.5399411916732788,
    1.459316611289978, 1.3786935806274414, 1.2981292009353638, 1.2176743745803833,
    1.1373800039291382, 1.057297945022583, 0.9774795174598694, 0.8979694843292236,
    0.8188207149505615, 0.7400776743888855, 0.6617891192436218, 0.583999752998352,
    0.5067528486251831, 0.4300948679447174, 0.3540663719177246, 0.2787083685398102,
    0.20406363904476166, 0.1301724910736084, 0.057069387286901474, -0.015203922986984253,
    -0.0866129919886589, -0.15712301433086395, -0.2266962081193924, -0.2953032851219177,
    -0.362910658121109, -0.4294864535331726, -0.49500009417533875, -0.5594236850738525,
    -0.622729480266571, -0.68489009141922, -0.7458810210227966, -0.8056751489639282,
    -0.8642529249191284, -0.9215879440307617, -0.9776588678359985, -1.03245210647583,
    -1.0859400033950806, -1.138109803199768, -1.1889418363571167, -1.2384239435195923,
    -1.2865370512008667, -1.3332706689834595, -1.378610372543335, -1.4225472211837769,
    -1.4650672674179077, -1.5061631202697754, -1.5458240509033203, -1.5840460062026978,
    -1.6208215951919556, -1.6561435461044312, -1.690009355545044, -1.7224149703979492,
    -1.7533572912216187, -1.7828364372253418, -1.8108502626419067, -1.8374006748199463,
    -1.8624874353408813, -1.8861134052276611, -1.908281922340393, -1.9289971590042114,
    -1.94826340675354, -1.9660862684249878, -1.982470989227295, -1.9974281787872314,
    -2.0109634399414062, -2.023085594177246, -2.0338051319122314, -2.043132781982422,
    -2.0510787963867188, -2.057654857635498, -2.0628745555877686, -2.0667505264282227,
    -2.06929612159729, -2.0705268383026123, -2.0704567432403564, -2.0691022872924805,
    -2.0664799213409424, -2.062605619430542, -2.057497501373291, -2.0511741638183594,
    -2.043652296066284, -2.0349528789520264, -2.0250935554504395, -2.0140953063964844,
    -2.001978635787964, -1.9887633323669434, -1.9744720458984375, -1.95912504196167,
    -1.942744255065918, -1.925352692604065, -1.9069727659225464, -1.8876272439956665,
    -1.86733877658844, -1.8461319208145142, -1.8240286111831665, -1.8010554313659668,
    -1.7772345542907715, -1.7525913715362549, -1.7271498441696167, -1.7009340524673462,
    -1.673970103263855, -1.6462836265563965, -1.6178977489471436, -1.5888397693634033,
    -1.5591330528259277, -1.528802752494812, -1.497876763343811, -1.4663797616958618,
    -1.4343358278274536, -1.4017715454101562, -1.3687106370925903, -1.3351819515228271,
    -1.3012089729309082, -1.2668155431747437, -1.2320302724838257, -1.196875810623169,
    -1.1613777875900269, -1.1255606412887573, -1.0894520282745361, -1.053073763847351,
    -1.0164512395858765, -0.9796079993247986, -0.9425705671310425, -0.9053600430488586,
    -0.8680039644241333, -0.8305224776268005, -0.7929410338401794, -0.7552821040153503,
    -0.7175678610801697, -0.6798233985900879, -0.6420702338218689, -0.6043285131454468,
    -0.566622257232666, -0.528972327709198, -0.491399347782135, -0.4539257287979126,
    -0.416572242975235, -0.3793570101261139, -0.342303603887558, -0.3054283559322357,
    -0.2687532603740692, -0.23229534924030304, -0.19607318937778473, -0.16010653972625732,
    -0.12441261112689972, -0.08900891989469528, -0.05391061678528786, -0.019140716642141342,
    0.01529062632471323, 0.04936531186103821, 0.08306771516799927, 0.11638259142637253
};

#endif // !SUSHI_MASTER_LIMITER_TEST_DATA_H